package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 问题对象 skpl_question
 *
 * @author ruoyi
 * @date 2022-06-15
 */
public class SkplQuestion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 问题id */
    private Long questionId;

    /** 问题标题 */
    @Excel(name = "问题标题")
    private String questionTitle;

    /** 问题简介 */
    @Excel(name = "问题简介")
    private String questionResume;

    /** 创建人 */
    @Excel(name = "创建人")
    private String questionUser;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date questionCreatetime;

    /** 喜欢人数 */
    @Excel(name = "喜欢人数")
    private Long questionFavorcount;

    /** 收藏量 */
    @Excel(name = "收藏量")
    private Long questionCollectcount;

    /** 是否删除 */
    @Excel(name = "是否删除")
    private Integer questionIsdel;

    public void setQuestionId(Long questionId)
    {
        this.questionId = questionId;
    }

    public Long getQuestionId()
    {
        return questionId;
    }
    public void setQuestionTitle(String questionTitle)
    {
        this.questionTitle = questionTitle;
    }

    public String getQuestionTitle()
    {
        return questionTitle;
    }
    public void setQuestionResume(String questionResume)
    {
        this.questionResume = questionResume;
    }

    public String getQuestionResume()
    {
        return questionResume;
    }
    public void setQuestionUser(String questionUser)
    {
        this.questionUser = questionUser;
    }

    public String getQuestionUser()
    {
        return questionUser;
    }
    public void setQuestionCreatetime(Date questionCreatetime)
    {
        this.questionCreatetime = questionCreatetime;
    }

    public Date getQuestionCreatetime()
    {
        return questionCreatetime;
    }
    public void setQuestionFavorcount(Long questionFavorcount)
    {
        this.questionFavorcount = questionFavorcount;
    }

    public Long getQuestionFavorcount()
    {
        return questionFavorcount;
    }
    public void setQuestionCollectcount(Long questionCollectcount)
    {
        this.questionCollectcount = questionCollectcount;
    }

    public Long getQuestionCollectcount()
    {
        return questionCollectcount;
    }
    public void setQuestionIsdel(Integer questionIsdel)
    {
        this.questionIsdel = questionIsdel;
    }

    public Integer getQuestionIsdel()
    {
        return questionIsdel;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("questionId", getQuestionId())
            .append("questionTitle", getQuestionTitle())
            .append("questionResume", getQuestionResume())
            .append("questionUser", getQuestionUser())
            .append("questionCreatetime", getQuestionCreatetime())
            .append("questionFavorcount", getQuestionFavorcount())
            .append("questionCollectcount", getQuestionCollectcount())
            .append("questionIsdel", getQuestionIsdel())
            .toString();
    }
}
